package com.meritdata.cloud.data.javabean; /***********************************************************************
 * Module:  TD_MIGRATION_SUBTASK.java
 * Author:  Lenovo
 * Purpose: Defines the Class TD_MIGRATION_SUBTASK
 ***********************************************************************/

import java.util.*;

/** 迁移子任务表 */
public class TdMigrationSubtask {
	/** ID:ID */
	private Long id;
	/** 迁移任务ID:MIGRATION_TASK_ID */
	private Long migrationTaskId;
	/** 源数据表ID:SOURCE_TABLE_ID */
	private String sourceTableId;
	/** 目标数据源ID:TARGET_DATA_SOURCE_ID */
	private String targetDataSourceId;
	/** 目标catalog:TARGET_CATALOG */
	private String targetCatalog;
	/** 目标schema:TARGET_SCHEMA */
	private String targetSchema;
	/** 目标表名:TARGET_TABLE */
	private String targetTable;
	/**
	 * 0:空闲，1:执行中
	 * 
	 * 当前迁移状态:STATUS
	 */
	private int status;
	/**
	 * 逗号隔开，为空时表示全部列
	 * 
	 * 迁移列名:COLUMN
	 */
	private String column;
	/**
	 * 0:覆盖迁移，1:增量迁移
	 * 
	 * 迁移方式:MODE
	 */
	private String mode;
	/**
	 * 迁移方式为增量迁移时有用
	 * 
	 * 增量迁移参照列名称:REFERENCE_COLUMN
	 */
	private String referenceColumn;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getMigrationTaskId() {
		return migrationTaskId;
	}
	public void setMigrationTaskId(Long migrationTaskId) {
		this.migrationTaskId = migrationTaskId;
	}
	public String getSourceTableId() {
		return sourceTableId;
	}
	public void setSourceTableId(String sourceTableId) {
		this.sourceTableId = sourceTableId;
	}
	public String getTargetDataSourceId() {
		return targetDataSourceId;
	}
	public void setTargetDataSourceId(String targetDataSourceId) {
		this.targetDataSourceId = targetDataSourceId;
	}
	public String getTargetCatalog() {
		return targetCatalog;
	}
	public void setTargetCatalog(String targetCatalog) {
		this.targetCatalog = targetCatalog;
	}
	public String getTargetSchema() {
		return targetSchema;
	}
	public void setTargetSchema(String targetSchema) {
		this.targetSchema = targetSchema;
	}
	public String getTargetTable() {
		return targetTable;
	}
	public void setTargetTable(String targetTable) {
		this.targetTable = targetTable;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getColumn() {
		return column;
	}
	public void setColumn(String column) {
		this.column = column;
	}
	public String getMode() {
		return mode;
	}
	public void setMode(String mode) {
		this.mode = mode;
	}
	public String getReferenceColumn() {
		return referenceColumn;
	}
	public void setReferenceColumn(String referenceColumn) {
		this.referenceColumn = referenceColumn;
	}




}